package net.lgy.apitest.model.VO;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * API测试用例视图对象类（返回给前端）
 */
@Data
public class ApiTestCaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String description;
    private String url;
    private String method;
    private String headers;
    private String params;
    private String body;
    private Integer expectedStatus;
    private String expectedResponse;
    private Long categoryId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String categoryName; // 可能需要显示分类名称
}
